//
// Copyright (c) 2024 BPer
//
#ifndef SRC_BPERRTC_BPERPUSHH264_H_
#define SRC_BPERRTC_BPERPUSHH264_H_
#include <bperrtc/BPerPushH.h>

typedef struct{
BPerPushH264Rtp *push;
int32_t (*on_video)(void *session,BPerPushH264Rtp* rtp,BPerFrame* videoFrame);
int32_t (*on_spspps)(void *session,BPerPushH264Rtp* rtp,BPerFrame* videoFrame);
}BPerPushH264;


void bPer_create_pushH264(BPerPushH264* push,BPerRtpBuffer* videoBuffer);
void bPer_destroy_pushH264(BPerPushH264* push);

#endif /* SRC_BPERRTC_BPERPUSHH264_H_ */
